﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="WebHeader.ascx.cs" Inherits="Rison.Web.ascx.WebHeader" %>
<script type="text/javascript" src="<%=UrlBase%>/swfobject/swfobject.js"></script>
<LINK href="<%=UrlBase%>/images/css.css" type="text/css" rel="stylesheet">
<script type="text/javascript">
    swfobject.registerObject("myId", "9.0.0", "swfobject/expressInstall.swf");
</script>

<div id="wrapper">
	<!--#include file="../Common/Top.txt"-->
     <div style="width:100%; height:10px;"></div>

<script type="text/javascript">
    var timeout = 500;
    var closetimer = 0;
    var ddmenuitem = 0;

    function jsddm_open(e) {
        jsddm_canceltimer();
        jsddm_close();
        ddmenuitem = document.getElementById("submenus");
        ddmenuitem.style.visibility = 'visible';
        
        //= $(this).find('ul').eq(0).css('display', ''); //visibility  visible hidden
    }

    function jsddm_close()
    { if (ddmenuitem) ddmenuitem.style.visibility = 'hidden'; }

    function jsddm_timer()
    { closetimer = window.setTimeout(jsddm_close, timeout); }

    function jsddm_canceltimer() {
        if (closetimer) {
            window.clearTimeout(closetimer);
            closetimer = null;
        }
    }   
    document.onclick = jsddm_close;
</script>

